package com.zyl.pts.domain.vo.SourceVO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.zyl.pts.domain.bean.QuarantineRegistration;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @version v1.0
 * @ProjectName: product_source
 * @Package: com.zyl.pts.domain.vo.SourceVO
 * @ClassName: BatchQRInfoVO
 * @Description TODO()
 * @Author 翟玉龙
 * @Date 2024/11/25-18:20
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class BatchQRInfoVO {

    /**
     * 批次编号
     */
    @JsonProperty("bSerialId")
    private String bSerialId;
    /**
     * 批次描述
     */
    @JsonProperty("bDesc")
    private String bDesc;
    /**
     * 检疫状态,未检疫已检疫
     */
    @JsonProperty("bQuarantine")
    private String bQuarantine;
    /**
     * 检疫合格状态,合格不合格
     */
    @JsonProperty("bQualified")
    private String bQualified;
    /**
     * 批次时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonProperty("bTime")
    private LocalDateTime bTime;

    @JsonProperty("quarantineRegistration")
    private List<QuarantineRegistration> quarantineRegistration;
}
